package com.canyou.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.canyou.system.model.OperLog;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author canyou
 * @since 2019-05-14
 */
public interface OperLogService extends IService<OperLog> {

    /**
     * 分页获取操作日志列表
     *
     * @param page
     * @param operLog
     * @return
     */
    IPage<OperLog> getOperLogPage(IPage<OperLog> page, OperLog operLog);

    /**
     * 获取操作日志列表
     *
     * @param operLog
     * @return
     */
    List<OperLog> getOperLogList(OperLog operLog);
}
